#import <Cocoa/Cocoa.h>


@interface ALScrollFixedElementAnimation : NSAnimation {
}

@property (nonatomic, assign) CGFloat scrollStartX;
@property (nonatomic, assign) CGFloat scrollEndX;
@property (nonatomic, retain) NSScrollView *scrollView;
@property (nonatomic, assign) NSRect subviewStartRect;
@property (nonatomic, assign) NSRect subviewEndRect;
@property (nonatomic, retain) NSView *subview;

-(void)animateScrollView:(NSScrollView *)aScrollView toX:(CGFloat)endX;  // Coordinates of the scroll view's document view
-(void)animateScrollView:(NSScrollView *)aScrollView toRect:(NSRect)aRect;  // Coordinates of the scroll view's document view
-(void)animateSubview:(NSView *)aView fromRect:(NSRect)startRect toRect:(NSRect)endRect;

@end
